package com.springboot.frame.starter.csrf;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public class DefaultCsrfProcessor implements CsrfProcessor {

  @Override
  public void process(HttpServletRequest request, HttpServletResponse response) throws IOException {
    response.sendError(HttpServletResponse.SC_FORBIDDEN, "跨站请求伪造");
  }

}
